import * as PIXI from 'pixi.js'
import { textureSource } from '../asset'

export default (): PIXI.Sprite => {
  // 重置按钮
  const sprite = new PIXI.Sprite(
    new PIXI.Texture({
      source: textureSource!,
      frame: new PIXI.Rectangle(1547, 1387, 55, 101),
    }),
  )
  sprite.anchor.set(0.5)
  return sprite
}
